package org.tongdao.yulong.event;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2021年01月20日 下午2:02
 */
@Component
public class EmailListener implements ApplicationListener<RegisterSuccessEvent> {
  @Override
  public void onApplicationEvent(RegisterSuccessEvent event) {
    System.out.println("注册成功，发邮件");
  }
}
